from flask import Flask
from flask.ext.sqlalchemy import SQLAlchemy
from flask.ext.bootstrap3 import Bootstrap
# import models

# config
app = Flask(__name__)
app.debug = True
app.config.from_pyfile("config.py")
db = SQLAlchemy(app)
bootstrap = Bootstrap()
bootstrap.init_app(app)
import morda


@app.route("/1")
def ololo():
    return morda.gen_global_stats()

if __name__ == '__main__':
    app.run()

